Ban keywords from crate names
authorStephen Becker IV <github@deathbyescalator.com>
Tue, 17 May 2016 05:37:05 +0000 (22:37 -0700)
committerStephen Becker IV <github@deathbyescalator.com>
Tue, 17 May 2016 16:15:26 +0000 (09:15 -0700)
commit466c74a996458c288aa526cb1514319a7f7b86fd
tree44d4e9355a40423b7ce4e7fd63878dad40d9b1d9
parent4e009a6c812eecb0333bacf9e80e7cfa0948646b
Ban keywords from crate names

Dearest Reviewer,

This pull request extends the banned list of project names to include
all of the current keywords for rust. I got the list of keywords from
https://doc.rust-lang.org/grammar.html#keywords . This
closes #2699 . The original ticket said warn but I figured how test is
handled is most likely how all banned names should be handled.

Oddly enough a few keywords have made their way to the crates.io. fn and
proc are both examples I found spot checking keywords. I do not there is
any action to take on those crates.

Thanks
Becker
src/cargo/ops/cargo_new.rs
tests/test_cargo_new.rs